package org.ls.petclinic.dao.impl;

import org.ls.petclinic.dao.EmployeeDao;
import org.ls.petclinic.pojo.Employee;

/**
 * @author 浪矢先生
 * @description
 * @create 2022-12-05 21:38
 */
public class EmployeeDaoImpl extends BaseDao implements EmployeeDao {
    @Override
    public Employee getByEmail(String email) {
        return queryForOne(Employee.class, "select * from employee where email=?",email);
    }
}
